#define _CRT_SECURE_NO_WARNINGS
#include"List.h"


void test1()
{
	ListNode* list = ListCreate(NULL);

	ListPushBack(list,1);
	ListPushBack(list,2);
	ListPushBack(list,3);
	ListPushBack(list,4);
	ListPrint(list);

	ListPopBack(list);
	ListPrint(list);

	ListPopBack(list);
	ListPopBack(list);
	ListPopBack(list);
	ListPrint(list);

	ListPushFront(list, 10);
	ListPushFront(list, 20);
	ListPrint(list);


	ListDestory(list);

}


int main()
{
	test1();


	return 0;
}